import {Link, Outlet} from "react-router-dom";

export default function Index() {
	return (
		<div>
			<h1>首页</h1>
			<div>
				<Link to="/">首页详情</Link>
			</div>
			<div>
				<Link to="/about/1001/zhansgan">网站详情</Link>
			</div>

			{/*在此渲染子路由界面*/}
			<div>
				<Outlet />
			</div>
		</div>
	)
}
